package com.zygh.lz.entity.duty;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author lee
 */
@Data
@ApiModel(value = "TaskSchedule对象",description = "任务id表")
public class TaskSchedule implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id;

    @TableField("dept")
    @ApiModelProperty("部门")
    private String dept;

    @TableField("duty_post_code")
    @ApiModelProperty("岗位代码")
    private Integer dutyPostCode;

    @TableField("rwid")
    @ApiModelProperty("任务id")
    private String rwid;

    @TableField(exist = false)
    private Integer pageNum = 1;
    @TableField(exist = false)
    private Integer pageSize = 10;
}
